package com.ruoyi.door.domain;

import com.easy.query.core.annotation.Column;
import com.easy.query.core.annotation.EntityProxy;
import com.easy.query.core.annotation.Table;
import com.easy.query.core.proxy.ProxyEntityAvailable;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.door.domain.proxy.DoorPlanProxy;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.FieldNameConstants;

import java.math.BigDecimal;

@Data
@Table("door_plan")
@ApiModel(value = "人脸方案对象", description = "人脸方案对象")
@EntityProxy
@AllArgsConstructor
@NoArgsConstructor
@FieldNameConstants
public class DoorPlan implements ProxyEntityAvailable<DoorPlan , DoorPlanProxy> {
    /** 主键 */
    @Column(primaryKey = true,generatedKey = true)
    @ApiModelProperty("主键")
    private Long id;
    private String name;
    private String tag1;
    private String tag2;
    private String desc1;
    private String desc2;
    private Integer num;


    /**
     * 价格
     */
    @Excel(name = "价格")
    @ApiModelProperty("价格")
    private BigDecimal price;
}
